﻿using EasyLinkerSDK.Enum;
using EasyLinkerSDK.Model.Server.Common.Interface;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace EasyLinkerSDK.Model.Server.Control
{
    public class SelectChannelData : IServerData
    {
        /// <summary>
        /// 调整频道类型 channel 或者 number
        /// 如果是channel 那么为具体的频道
        /// 如果是number 那么为频道号
        /// </summary>
        [JsonConverter(typeof(StringEnumConverter))]
        public PropertiyType Propertiy { get; set; }

        [JsonConverter(typeof(StringEnumConverter))]
        public AdjustType AdjustType { get; set; }

        public string Value { get; set; }

        public string Custom { get; set; }

    }
}
